﻿using System;

namespace AliIotLib
{
    /// <summary>
    /// 阿里物联网配置信息
    /// </summary>
    public class AliIotConfig
    {
        /// <summary>
        /// 账户管理安全设置里面的账户ID。用户id信息，在用户上右击，出现访问控制，里面出现用户登录地址
        /// </summary>
        public string UserId { set; get; }
        /// <summary>
        /// 区域
        /// </summary>
        public string RegionId { set; get; } = "cn-shanghai";
        /// <summary>
        /// RAM访问控制：AccessKey 里面的ID
        /// </summary>
        public string AccessKeyId { set; get; } = "LTAI4Fek3BDJUHa58qiSP1oK";
        /// <summary>
        /// RAM访问控制：AccessKey 里面的密钥
        /// </summary>
        public string AccessKeySecret { set; get; } = "My6EKVcLKjn89OO4oYtPfiG1Fqx5SB";
        /// <summary>
        /// 产品key
        /// </summary>
        public string ProductKey { set; get; } = "a1uYHbbfelq";
        /// <summary>
        /// 消费组编号
        /// </summary>
        public string ConsumerGroupId { set; get; } = "DEFAULT_GROUP";
        /// <summary>
        /// 客户端id
        /// </summary>
        public string ClientId { set; get; } = "1234567890";
        /// <summary>
        /// iotInstanceId：购买的实例请填写实例ID，公共实例请填空字符串""。
        /// </summary>
        public string IotInstanceId { set; get; } = "";
    }
}
